Self-driving car scheduling method, car scheduling server, and self-driving car

ABSTRACT

The present invention belongs to the field of computer technologies, and discloses a self-driving car scheduling method, a car scheduling server, and a self-driving car. The method includes: receiving a ride request; determining, according to the ride request and driving information of self-driving cars within a management range, at least one first candidate car from the multiple self-driving cars; calculating a first time required by each first candidate car to arrive at a ride destination according to current location information, current road status information, and planned route information of each first candidate car; determining a final candidate car from the at least one first candidate car according to the first time corresponding to each first candidate car, where the final candidate car at least meets an expected destination arrival time; and delivering the ride request to the final candidate car.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No. PCT/CN2015/078259, filed on May 5, 2015, which claims priority to Chinese Patent Application No. 201410187463.3, filed on May 6, 2014, The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.

TECHNICAL FIELD

The present invention relates to the field of computer technologies, and in particular, to a self-driving car scheduling method, a car scheduling server, and a self-driving car.

BACKGROUND

A self-driving car (Self-driving Car) is also referred to as a driverless car, a computer driving car, or a wheeled mobile robot, and is an intelligent car that implements unmanned driving by using a computer system. The self-driving car relies on coordination among an artificial intelligence system, a visual computation system, a radar system, a monitoring system, and a global positioning system, so that a computer can automatically and safely operate the self-driving car without an active operation of a person. As self-driving cars become popularized, at present it becomes an emerging means of travel to use a self-driving car as a taxi. To enable self-driving cars used as taxis to maximally meet different ride requirements, how to schedule the self-driving cars becomes a problem to which a person skilled in the art pays relatively much attention.

In the prior art, cars are usually scheduled in the following manner: A car scheduling server receives each ride request by means of a telephone, where a ride request includes a location of the ride request; every time when a new ride request is received, the car scheduling server acquires a location of each car within a management range, and determines, from assigned cars, cars located within a preset range of a location corresponding to the new ride request; and finally, determines, from the cars within the preset range, a car having a minimum increase in a driving distance after the new ride request is added, and assigns the new ride request to the car.

In a process of implementing the present invention, the inventor finds that the prior art at least has the following problems:

In a process of car scheduling, because car scheduling is performed according to only locations of assigned cars and a ride request, reference factors for scheduling are undiversified, causing low scheduling precision. For example, after a car that responds to a new ride request is determined, if there is a real-time severe traffic jam at a location of the car or a traffic accident occurs on a driving course, the selected car cannot necessarily arrive at a location corresponding to the new ride request soonest, and scheduling precision is affected.

SUMMARY

To resolve the problem in the prior art, embodiments of the present invention provide a self-driving car scheduling method, a car scheduling server, and a self-driving car. The technical solutions are as follows:

According to a first aspect, a self-driving car scheduling method is provided, including:

receiving a ride request, where the ride request includes at least a ride starting location, a ride destination, and an expected destination arrival time;

determining, according to the ride request and driving information of self-driving cars within a management range, at least one first candidate car from the multiple self-driving cars;

calculating, according to current location information, current road status information, and planned route information of each first candidate car, a first time required by each first candidate car to arrive at the ride destination;

determining a final candidate car from the at least one first candidate car according to the first time corresponding to each first candidate car, where the final candidate car at least meets the expected destination arrival time; and

delivering the ride request to the final candidate car, so that the final candidate car responds to the ride request.

In a first possible implementation manner of the first aspect, before the determining, according to the ride request and driving information of self-driving cars within a management range, at least one first candidate car from the multiple self-driving cars, the method further includes:

acquiring the driving information of the self-driving cars within the management range, where the driving information includes at least current location information, current road status information, planned route information, and a planned destination arrival time; and

the determining, according to the ride request and driving information of self-driving cars within a management range, at least one first candidate car from the multiple self-driving cars includes:

determining the at least one first candidate car from the multiple self-driving cars according to the ride starting location and the ride destination, where a planned route or an extended route of the planned route of the first candidate car includes the ride starting location and the ride destination.

With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, before the determining the at least one first candidate car from the multiple self-driving cars according to the ride starting location and the ride destination, the method further includes:

if the ride request includes ride sharing information and a quantity of passengers, determining, from the self-driving cars within the management range, at least one second candidate car that has vacant seats whose quantity is not less than the quantity of passengers and that agrees with ride sharing; and

the determining the at least one first candidate car from the multiple self-driving cars according to the ride starting location and the ride destination includes:

determining the at least one first candidate car from the at least one second candidate car according to the ride starting location and the ride destination.

With reference to the first aspect, in a third possible implementation manner of the first aspect, the ride request further includes passenger information, and the delivering the ride request to the final candidate car includes:

delivering the ride request including the passenger information to the final candidate car, so that after arriving at the ride starting location, the final candidate car determines a sender of the ride request according to the passenger information,

where the passenger information includes at least one of a passenger feature identifier or a passenger nearby typical road identifier.

With reference to the first aspect, in a fourth possible implementation manner of the first aspect, after the delivering the ride request to the final candidate car, the method further includes:

sending security verification information of the final candidate car to a sending terminal of the passenger request, so that when arriving at the ride starting location, the final candidate car verifies, according to the security verification information, security verification information provided by a sender of the passenger request.

With reference to the first aspect, in a fifth possible implementation manner of the first aspect, after the delivering the ride request to the final candidate car, the method further includes:

updating planned route information of the final candidate car, and sending updated planned route information to the final candidate car, so that the final candidate car determines a driving route according to the updated planned route information.

With reference to the first aspect, in a sixth possible implementation manner of the first aspect, after the delivering the ride request to the final candidate car, the method further includes:

sending identifier information of the final candidate car to a sending terminal of the passenger request, so that a sender of the passenger request determines the final candidate car according to the identifier information of the final candidate car.

With reference to the first aspect or the first to sixth possible implementation manners of the first aspect, in a seventh possible implementation manner of the first aspect, the method further includes:

if the final candidate car does not exist among the multiple self-driving cars within the management range, performing scheduling again on a newly received ride request and all unexecuted ride requests, and sending a scheduling result to a corresponding self-driving car.

According to a second aspect, a car scheduling server is provided, the server including:

a ride request receiving module, configured to receive a ride request, where the ride request includes at least a ride starting location, a ride destination, and an expected destination arrival time;

a first candidate car determining module, configured to determine, according to the ride request and driving information of self-driving cars within a management range, at least one first candidate car from the multiple self-driving cars;

a first time calculation module, configured to calculate, according to current location information, current road status information, and planned route information of each first candidate car, a first time required by each first candidate car to arrive at the ride destination;

a final candidate car determining module, configured to determine a final candidate car from the at least one first candidate car according to the first time corresponding to each first candidate car, where the final candidate car at least meets the expected destination arrival time; and

a ride request delivery module, configured to deliver the ride request to the final candidate car, so that the final candidate car responds to the ride request.

In a first possible implementation manner of the second aspect, the server further includes:

a driving information acquiring module, configured to acquire the driving information of the self-driving cars within the management range, where the driving information includes at least current location information, current road status information, planned route information, and a planned destination arrival time, where

the first candidate car determining module is configured to determine the at least one first candidate car from the multiple self-driving cars according to the ride starting location and the ride destination, where a planned route or an extended route of the planned route of the first candidate car includes the ride starting location and the ride destination.

With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the server further includes:

a second candidate car determining module, configured to: when the ride request includes ride sharing information and a quantity of passengers, determine, from the self-driving cars within the management range, at least one second candidate car that has vacant seats whose quantity is not less than the quantity of passengers and that agrees with ride sharing, where

the first candidate car determining module is configured to determine the at least one first candidate car from the at least one second candidate car according to the ride starting location and the ride destination.

With reference to the second aspect, in a third possible implementation manner of the second aspect, the ride request delivery module is configured to deliver the ride request including the passenger information to the final candidate car, so that after arriving at the ride starting location, the final candidate car determines a sender of the ride request according to the passenger information,

where the passenger information includes at least one of a passenger feature identifier or a passenger nearby typical road identifier.

With reference to the second aspect, in a fourth possible implementation manner of the second aspect, the server further includes:

a security verification information sending module, configured to send security verification information of the final candidate car to a sending terminal of the passenger request, so that when arriving at the ride starting location, the final candidate car verifies, according to the security verification information, security verification information provided by a sender of the passenger request.

With reference to the second aspect, in a fifth possible implementation manner of the second aspect, the server further includes:

a planned route information update module, configured to update planned route information of the final candidate car, and send updated planned route information to the final candidate car, so that the final candidate car determines a driving route according to the updated planned route information.

With reference to the second aspect, in a sixth possible implementation manner of the second aspect, the server further includes:

a car identifier information delivery module, configured to send identifier information of the final candidate car to a sending terminal of the passenger request, so that a sender of the passenger request determines the final candidate car according to the identifier information of the final candidate car.

With reference to the second aspect or the first to sixth possible implementation manners of the second aspect, in a seventh possible implementation manner of the second aspect, the server further includes:

a scheduling module, configured to: when the final candidate car does not exist among the multiple self-driving cars within the management range, perform scheduling again on a newly received ride request and all unexecuted ride requests, and send a scheduling result to a corresponding self-driving car.

According to a third aspect, a self-driving car scheduling method is provided, the method including:

receiving a ride request delivered by a car scheduling server, where the ride request includes at least a ride starting location, a ride destination, an expected destination arrival time, and passenger information;

determining whether a ride request conflicting with the ride request exists in a driving task list;

if no ride request conflicting with the ride request exists in the driving task list, determining an execution order of the ride request according to the expected destination arrival time of the ride request, and adding the ride request to the driving task list according to the execution order of the ride request; and

executing ride requests in sequence according to execution orders of the ride requests in the driving task list.

In a first possible implementation manner of the third aspect, after the adding the ride request to the driving task list according to the execution order of the ride request, the method further includes:

setting an execution status for the ride request,

where the driving task list includes at least one ride request and an execution status corresponding to each ride request.

With reference to the third aspect, in a second possible implementation manner of the third aspect, the method further includes:

during execution of any ride request, upon arrival at a ride starting location corresponding to the ride request, performing precise matching and positioning on a current location of a sender of the ride request according to a passenger nearby typical road identifier included in the ride request, so that after the sender of the ride request confirms, according to received car identifier information, a self-driving car that arrives at the ride starting location, the self-driving car drives away from the ride starting location.

With reference to the third aspect or the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the method further includes:

during execution of any ride request, upon arrival at a ride starting location corresponding to the ride request, confirming a sender of the ride request according to a passenger feature identifier included in the ride request, so that after the sender of the ride request confirms, according to received car identifier information, a self-driving car that arrives at the ride starting location, the self-driving car drives away from the ride starting location.

With reference to the third aspect, in a fourth possible implementation manner of the third aspect, the method further includes:

after it is detected that a passenger performs a destination change operation on a UI (User Interface), updating the driving task list according to a changed destination.

With reference to the third aspect, in a fifth possible implementation manner of the third aspect, the method further includes:

when it is detected that a traffic jam or a traffic accident occurs on a current driving route of the self-driving car, performing a ride request scheduling negotiation with the car scheduling server, to obtain a scheduling negotiation result; and

updating the driving task list according to the scheduling negotiation result and transferring at least one subsequent ride request to another self-driving car.

With reference to the third aspect, in a sixth possible implementation manner of the third aspect, the method further includes:

when it is detected that a traffic jam or a traffic accident occurs on a current driving route, performing a ride request scheduling negotiation with another self-driving car with which communication is established, to obtain a scheduling negotiation result; and

updating the driving task list according to the scheduling negotiation result and transferring at least one subsequent ride request to the another self-driving car.

According to a fourth aspect, a self-driving car is provided, the car including:

a ride request receiving module, configured to receive a ride request delivered by a car scheduling server, where the ride request includes at least a ride starting location, a ride destination, an expected destination arrival time, and passenger information;

a ride request determining module, configured to determine whether a ride request conflicting with the ride request exists in a driving task list;

a ride request adding module, configured to: when no ride request conflicting with the ride request exists in the driving task list, determine an execution order of the ride request according to the expected destination arrival time of the ride request, and add the ride request to the driving task list according to the execution order of the ride request; and

an execution module, configured to execute ride requests in sequence according to execution orders of the ride requests in the driving task list.

In a first possible implementation manner of the fourth aspect, the car further includes:

an execution status setting module, configured to set an execution status for the ride request,

where the driving task list includes at least one ride request and an execution status corresponding to each ride request.

With reference to the fourth aspect, in a second possible implementation manner of the fourth aspect, the car further includes:

a matching confirmation module, configured to: during execution of any ride request, upon arrival at a ride starting location corresponding to the ride request, perform precise matching and positioning on a current location of a sender of the ride request according to a passenger nearby typical road identifier included in the ride request, so that after the sender of the ride request confirms, according to received car identifier information, the self-driving car that arrives at the ride starting location, the self-driving car drives away from the ride starting location.

With reference to the fourth aspect or the second possible implementation manner of the fourth aspect, in a third possible implementation manner of the fourth aspect, the matching confirmation module is further configured to: during execution of any ride request, upon arrival at a ride starting location corresponding to the ride request, confirm a sender of the ride request according to a passenger feature identifier included in the ride request, so that after the sender of the ride request confirms, according to received car identifier information, the self-driving car that arrives at the ride starting location, the self-driving car drives away from the ride starting location.

With reference to the fourth aspect, in a fourth possible implementation manner of the fourth aspect, the car further includes:

a driving task list update module, configured to: after it is detected that a passenger performs a destination change operation on a UI, update the driving task list according to a changed destination.

With reference to the fourth aspect, in a fifth possible implementation manner of the fourth aspect, the car further includes:

a scheduling negotiation module, configured to: when it is detected that a traffic jam or a traffic accident occurs on a current driving route of the self-driving car, perform a ride request scheduling negotiation with the car scheduling server, to obtain a scheduling negotiation result, where

the driving task list update module is further configured to update the driving task list according to the scheduling negotiation result and transfer at least one subsequent ride request to another self-driving car.

With reference to the fourth aspect, in a sixth possible implementation manner of the fourth aspect, the scheduling negotiation module is further configured to: when it is detected that a traffic jam or a traffic accident occurs on a current driving route, perform a ride request scheduling negotiation with another self-driving car with which communication is established, to obtain a scheduling negotiation result; and

the driving task list update module is further configured to update the driving task list according to the scheduling negotiation result and transfer at least one subsequent ride request to the another self-driving car.

A beneficial effect brought by the technical solutions provided in the embodiments of the present invention is:

During self-driving car scheduling, car scheduling is performed according to at least a ride request, and current location information, current road status information, and planned route information of self-driving cars within a management range of a car scheduling server, and because reference factors for car scheduling are relatively varied, an obtained scheduling result is relatively precise, and scheduling precision is high.

BRIEF DESCRIPTION OF DRAWINGS

To describe the technical solutions in the embodiments of the present invention more clearly, the following briefly describes the accompanying drawings required for describing the embodiments. Apparently, the accompanying drawings in the following description show merely some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.

FIG. 1 is an architectural diagram of a self-driving car scheduling system according to an embodiment of the present invention;

FIG. 2 is a schematic diagram of an internal structure of a car scheduling server according to an embodiment of the present invention;

FIG. 3 is a schematic diagram of an internal structure of a self-driving car according to an embodiment of the present invention;

FIG. 4 is a schematic diagram of an overall hardware architecture of a self-driving car according to an embodiment of the present invention;

FIG. 5 is a flowchart of a self-driving car scheduling method according to an embodiment of the present invention;

FIG. 6 is a flowchart of a self-driving car scheduling method according to an embodiment of the present invention;

FIG. 7 is a flowchart of a self-driving car scheduling method according to an embodiment of the present invention; and

FIG. 8 is a schematic structural diagram of a car scheduling server according to an embodiment of the present invention; and

FIG. 9 is a schematic structural diagram of a self-driving car according to an embodiment of the present invention.

DESCRIPTION OF EMBODIMENTS

To make the objectives, technical solutions, and advantages of the present invention clearer, the following further describes the embodiments of the present invention in detail with reference to the accompanying drawings.

Before the embodiments of the present invention are explained and described in detail, a system architecture and an application scenario of the embodiments of the present invention are first simply described. Referring to FIG. 1, a self-driving car scheduling system includes multiple clients 101, a car scheduling server 102, and multiple self-driving cars 103. The client 101 is configured to send a ride request of a passenger, where the ride request may include a ride starting location, a ride destination, an expected car starting location arrival time, an expected car destination arrival time, ride sharing information, and the like. The client 101 may be a mobile phone, a desktop computer, a tablet computer, a wearable device, or the like. The car scheduling server 102 is configured to perform scheduling on the multiple self-driving cars 103 within a management range according to a ride requirement, current locations of the multiple self-driving cars 103, current road status information, and an original scheduling result that are collected, and deliver a latest scheduling result to the self-driving cars 103. For the multiple self-driving cars 103, each self-driving car is located within a management range of the car scheduling server 102. The self-driving car 103 does not need to be driven by a driver and a driving task does not need to be manually arranged. Instead, the car scheduling server 102 automatically arranges a driving task for the self-driving cars 103 within the management range of the car scheduling server 102. Certainly, it is also supported that a passenger on the car changes a ride destination by using a UI. After acquiring a driving task, the self-driving car may automatically plan and arrange a travel route according to the driving task.

Referring to FIG. 2, a car scheduling server mainly includes a transceiver communications unit 201, a ride request collection unit 202, a self-driving car information collection unit 203, and a global scheduling decision unit 204. The transceiver communications unit 201 is, on one hand, configured to communicate with the client 101 shown in FIG. 1, to receive and respond to a ride request of a passenger. On the other hand, configured to communicate with the self-driving cars 103 shown in FIG. 1, to receive driving information of the self-driving cars 103, where the driving information may include a current location, current road status information, a journey arrangement change request, and the like. The transceiver communications unit 201 may further deliver a driving arrangement scheduling result to the self-driving cars 103. The ride request collection unit 202 is configured to collect the ride request of the passenger, where the ride request generally includes an identity of the passenger, a ride starting location, an expected car arrival time, a ride destination, a quantity of passengers, an expected destination arrival time, ride sharing information, and the like. The self-driving car information collection unit 203 is configured to collect driving information of all self-driving cars within a management range of the car scheduling server. The driving information includes dynamic information and static information, the dynamic information generally includes a driving task, a current location, a driving task being performed, current road status information, and the like of a self-driving car. The static information generally includes identifier information of a self-driving car, for example, a license plate and a model. The global scheduling decision unit 204 is configured to perform global scheduling according to the passenger request acquired by the ride request collection unit 202 and the driving information of self-driving cars that is acquired by the self-driving car information collection unit 203, and calculate a journey scheduling result of an optimal self-driving car that can meet the ride request.

Referring to FIG. 3, a self-driving car mainly includes a transceiver communications unit 301, a UI operation interface 302, a driving task management unit 303, and a traffic road status information collection unit 304. The transceiver communications unit 301 is configured to communicate with a remote device such as a car scheduling server, to send driving information of the self-driving car, where the driving information may include a current location, current road status information, a journey arrangement change request, and the like. The UI operation interface 302 supports a passenger on the car to interact with the self-driving car by using a UI. For example, the passenger may change a ride destination by using the UI. The driving task management unit 303 is configured to maintain a driving task list of the self-driving car, and supports updating the driving task list according to the passenger request, a decision of the car scheduling server, or a local decision. The traffic road status information collection unit 304 is configured to collect a traffic status on a driving route of the self-driving car or at a current location of the self-driving car by using a GPS (Global Positioning System, global positioning system) device or a traffic monitoring device.

FIG. 4 is a schematic structural diagram of an overall hardware of a self-driving car. Referring to FIG. 4, the self-driving car includes:

A CPU (Central Processing Unit, central processing unit) 401 is, in one aspect, configured to control constituent hardware devices of the entire self-driving car; and in another aspect, configured to run operating system software and required application program software, which includes software of driving task management, traffic road status information collection, a UI operation interface, and the like that are involved in the present invention.

A storage device 402 is configured to store various software programs, data, and the like of the self-driving car. The storage device may be one or more of a RAM (Random Access Memory, random access memory), an EPROM (Erasable Programmable Read Only Memory,), an SSD (Solid State Disk, solid state disk), an SD (Secure Digital, secure digital) card, and a hard disk. Software functions of a self-driving car scheduling method provided in the embodiments of the present invention are also run and stored on the storage device 402.

A communications device 403 provides a network communication function to the self-driving car, where the network communication function includes one or more of communication manners such as a cellular network (GSM/UMTS/LTE/CDMA, or the like), a WLAN (Wireless Local Area Networks, wireless local area network), NFC (Near Field Communication, near field communication), and Bluetooth.

An antenna device 404 is a radio transmit antenna or a radio receive antenna used by the communications device 403. A GPS device 405 is configured to provide location information of the self-driving car. A sensor device 406 may include a radar, a camera, and the like, and is configured to sense a road traffic environment, a pedestrian, and the like, so as to guide the self-driving car to perform self-driving according to a road status. A power supply device 407 supplies power to the self-driving car. An I/O (Input/Output, input output) control device 408 is configured to control data exchange between various input/output devices, and particularly, control data exchange between the CPU 401 and an I/O interface 409 or a UI operation interface 410.

The I/O interface 409 is an external interface provided by the self-driving car and includes one or more of a USB (Universal Serial Bus, universal serial bus) interface, an SD card interface, a CD (Compact Disc, optical disc)/DVD (Digital Versatile Disc, digital versatile disc) interface, and a press-key interface. The UI operation interface 410 is a GUI (Graphical User Interface, graphical user interface) operation/display panel provided by the self-driving car, and is configured to display a running status of the self-driving car, a device status, an environment where the self-driving car is located, a user operation interface, and an operation result. The panel may also be a touchscreen, and is configured to receive a user touch operation and convert the user touch operation into a user operation instruction.

FIG. 5 is a flowchart of a self-driving car scheduling method according to an embodiment of the present invention. The perspective in which a car scheduling server executes the method is used as an example. Referring to FIG. 5, a procedure of the method provided in this embodiment of the present invention includes:

501: Receive a ride request, where the ride request includes at least a ride starting location, a ride destination, and an expected destination arrival time.

502: Determine, according to the ride request and driving information of self-driving cars within a management range, at least one first candidate car from the multiple self-driving cars.

503: Calculate, according to current location information, current road status information, and planned route information of each first candidate car, a first time required by each first candidate car to arrive at the ride destination.

504: Determine a final candidate car from the at least one first candidate car according to the first time corresponding to each first candidate car, where the final candidate car at least meets the expected destination arrival time.

505: Deliver the ride request to the final candidate car, so that the final candidate car responds to the ride request.

In the method provided in this embodiment of the present invention, during self-driving car scheduling, car scheduling is performed according to at least a ride request, and current location information, current road status information, and planned route information of self-driving cars within a management range of a car scheduling server, and because reference factors for car scheduling are relatively varied, an obtained scheduling result is relatively precise, and scheduling precision is high.

Optionally, before the determining, according to the ride request and driving information of self-driving cars within a management range, at least one first candidate car from the multiple self-driving cars, the method further includes:

acquiring the driving information of the self-driving cars within the management range, where the driving information includes at least current location information, current road status information, planned route information, and a planned destination arrival time; and

the determining, according to the ride request and driving information of self-driving cars within a management range, at least one first candidate car from the multiple self-driving cars includes:

determining the at least one first candidate car from the multiple self-driving cars according to the ride starting location and the ride destination, where a planned route or an extended route of the planned route of the first candidate car includes the ride starting location and the ride destination.

Optionally, before the determining the at least one first candidate car from the multiple self-driving cars according to the ride starting location and the ride destination, the method further includes:

if the ride request includes ride sharing information and a quantity of passengers, determining, from the self-driving cars within the management range, at least one second candidate car that has vacant seats whose quantity is not less than the quantity of passengers and that agrees with ride sharing; and

the determining the at least one first candidate car from the multiple self-driving cars according to the ride starting location and the ride destination includes:

determining the at least one first candidate car from the at least one second candidate car according to the ride starting location and the ride destination.

Optionally, the ride request further includes passenger information, and the delivering the ride request to the final candidate car includes:

delivering the ride request including the passenger information to the final candidate car, so that after arriving at the ride starting location, the final candidate car determines a sender of the ride request according to the passenger information,

where the passenger information includes at least one of a passenger feature identifier or a passenger nearby typical road identifier.

Optionally, after the delivering the ride request to the final candidate car, the method further includes:

sending security verification information of the final candidate car to a sending terminal of the passenger request, so that when arriving at the ride starting location, the final candidate car verifies, according to the security verification information, security verification information provided by a sender of the passenger request.

Optionally, after the delivering the ride request to the final candidate car, the method further includes:

updating planned route information of the final candidate car, and sending updated planned route information to the final candidate car, so that the final candidate car determines a driving route according to the updated planned route information.

Optionally, after the delivering the ride request to the final candidate car, the method further includes:

sending identifier information of the final candidate car to a sending terminal of the passenger request, so that a sender of the passenger request determines the final candidate car according to the identifier information of the final candidate car.

Optionally, the method further includes:

if the final candidate car does not exist among the multiple self-driving cars within the management range, performing scheduling again on a newly received ride request and all unexecuted ride requests, and sending a scheduling result to a corresponding self-driving car.

All the foregoing optional technical solutions can be randomly combined to form optional embodiments of the present invention, which are no longer elaborated one by one herein.

FIG. 6 is a flowchart of a self-driving car scheduling method according to an embodiment of the present invention. The perspective in which a self-driving car executes the method is used as an example. Referring to FIG. 6, a procedure of the method provided in this embodiment of the present invention includes:

601: Receive a ride request delivered by a car scheduling server, where the ride request includes at least a ride starting location, a ride destination, an expected starting location arrival time, and passenger information.

602: Determine whether a ride request conflicting with the ride request exists in a driving task list.

603: If no ride request conflicting with the ride request exists in the driving task list, determine an execution order of the ride request according to an expected destination arrival time of the ride request, and add the ride request to the driving task list according to the execution order of the ride request.

604: Execute ride requests in sequence according to execution orders of the ride requests in the driving task list.

In the method provided in this embodiment of the present invention, during self-driving car scheduling, car scheduling is performed according to at least a ride request, and current location information, current road status information, and planned route information of self-driving cars within a management range of a car scheduling server, and because reference factors for car scheduling are relatively varied, an obtained scheduling result is relatively precise, and scheduling precision is high.

Optionally, after the adding the ride request to the driving task list according to the execution order of the ride request, the method further includes:

setting an execution status for the ride request,

where the driving task list includes at least one ride request and an execution status corresponding to each ride request.

Optionally, the method further includes:

during execution of any ride request, upon arrival at a ride starting location corresponding to the ride request, performing precise matching and positioning on a current location of a sender of the ride request according to a passenger nearby typical road identifier included in the ride request, so that after the sender of the ride request confirms, according to received car identifier information, a self-driving car that arrives at the ride starting location, the self-driving car drives away from the ride starting location.

Optionally, the method further includes:

during execution of any ride request, upon arrival at a ride starting location corresponding to the ride request, confirming a sender of the ride request according to a passenger feature identifier included in the ride request, so that after the sender of the ride request confirms, according to received car identifier information, a self-driving car that arrives at the ride starting location, the self-driving car drives away from the ride starting location.

Optionally, the method further includes:

after it is detected that a passenger performs a destination change operation on a UI, updating the driving task list according to a changed destination.

Optionally, the method further includes:

when it is detected that a traffic jam or a traffic accident occurs on a current driving route of a self-driving car, performing a ride request scheduling negotiation with the car scheduling server, to obtain a scheduling negotiation result; and

updating the driving task list according to the scheduling negotiation result and transferring at least one subsequent ride request to another self-driving car.

Optionally, the method further includes:

when it is detected that a traffic jam or a traffic accident occurs on a current driving route, performing a ride request scheduling negotiation with another self-driving car with which communication is established, to obtain a scheduling negotiation result; and

updating the driving task list according to the scheduling negotiation result and transferring at least one subsequent ride request to the another self-driving car.

All the foregoing optional technical solutions can be randomly combined to form optional embodiments of the present invention, which are no longer elaborated one by one herein.

FIG. 7 is a flowchart of a self-driving car scheduling method according to an embodiment of the present invention. Entities that perform interaction are a car scheduling server, a client, and a self-driving car. Referring to FIG. 7, a procedure of the method provided in this embodiment of the present invention includes:

701: A car scheduling server receives a ride request sent by a client, where the ride request includes at least a ride starting location, a ride destination, and an expected destination arrival time.

In this embodiment of the present invention, a specific implementation manner of sending the ride request by the client includes, but is not limited to, several manners in the following: sending the ride request by using an app (application) on an intelligent mobile terminal; or, sending the ride request by using a fixed terminal (personal computer); or, logging in to a corresponding website by using an intelligent mobile terminal or a fixed terminal, and sending the ride request on a webpage.

In addition to the ride starting location, the ride destination, and the expected destination arrival time, the ride request may further include passenger information, an expected starting location arrival time, ride sharing information (whether it is okay to share a ride with another person), and the like. Content included in the ride request in this embodiment is not specifically limited. In addition, the passenger information may include one or more of a username, an ID card number, an identifier (a digit string) or a passenger photograph. Content included in the passenger information in this embodiment is also not specifically limited. The passenger information mainly helps a scheduled self-driving car to confirm the identity of a passenger when picking up the passenger.

702: The car scheduling server acquires driving information of self-driving cars within a management range, where the driving information includes at least current location information, current road status information, planned route information, and a planned destination arrival time.

In this embodiment of the present invention, the current location information of the self-driving car may be obtained by using a GPS device. The current road status information may be obtained by using a sensor device on the self-driving car, and a communications device of the self-driving car then sends the obtained current road status information to the car scheduling server. When acquiring the current road status information of the self-driving car, the car scheduling server may send the current location information of the self-driving car to a traffic monitoring device. The traffic monitoring device acquires the current road status information of each self-driving car according to the current location information of each self-driving car. Next, the traffic monitoring device sends the current road status information of each self-driving car to the car scheduling server.

When the method provided in this embodiment is performed, which manner in the foregoing is specifically used to acquire the current road status information is not specifically limited in this embodiment. The planned route information and the planned destination arrival time may be a latest scheduling result recorded in the server, or may be a latest scheduling result of which the car scheduling server is informed after some self-driving cars that can autonomously arrange a driving task change a driving task.

Besides, in addition to the current location information, the current road status information, the planned route information, and the planned destination arrival time, the driving information may further include a car remaining-seat quantity, a driving task list, ride sharing information, and the like. Content included in the driving information is not specifically limited in this embodiment.

703: If the ride request includes ride sharing information and a quantity of passengers, the car scheduling server determines, from the self-driving cars within the management range, at least one second candidate car that has vacant seats whose quantity is not less than the quantity of passengers and that agrees with ride sharing.

During a peak period of car using, the car scheduling server may receive a large quantity of ride requests. A quantity of the ride requests may be far greater than a quantity of self-driving cars. In such a case, to meet ride requirements of passengers as much as possible, a solution of ride sharing is provided in this embodiment of the present invention, so that ride requirements of some of the passengers can be met to a certain extent. After the car scheduling server receives a new ride request, if the ride request includes the ride sharing information and the quantity of passengers, to find as soon as possible a self-driving car meeting the new ride request, the car scheduling server further needs to first determine, from the self-driving cars within the management range of the car scheduling server, the at least one second candidate car that has vacant seats whose quantity is not less than the quantity of passengers and that agrees with ride sharing. The reason of determining the ride sharing information is that for different passengers, some passengers accept ride sharing while some passengers may not accept ride sharing, and therefore during determining of the at least one second candidate car, a candidate car that agrees with ride sharing further needs to be selected.

During determining of the second candidate car, because the driving information, of each self-driving car, acquired by the car scheduling server includes the car remaining-seat quantity and the ride sharing information, the driving information of each self-driving car is analyzed, so that the at least one second candidate car can be determined from the multiple self-driving cars within the management range of the car scheduling server.

704: The car scheduling server determines the at least one first candidate car from the at least one second candidate car according to the ride starting location and the ride destination, where a planned route or an extended route of the planned route of the first candidate car includes the ride starting location and the ride destination.

In this embodiment of the present invention, when a new ride request is received, the new ride request may be a real-time ride request (where a passenger requires to get in a car as soon as possible), or may be a reservation ride request (where a passenger gets in a car within a reservation period of time). Regardless of whether the new ride request is a real-time ride request or a reservation ride request, at least one first candidate car needs to be determined from the at least one second candidate car according to a ride starting location and a ride destination of the new ride request, where a planned route of the at least one first candidate car includes or partially includes the ride starting location and the ride destination. During determining of at least one first candidate car, for the first candidate car, there are various cases as follows:

In a first case, at least one planned route of the first candidate car includes the ride starting location and the ride destination. That is, the ride starting location and the ride destination are intermediate sites on the planned route.

In a second case, at least one planned route of the first candidate car includes the ride starting location or the ride destination, and an extended route of the at least one planned route includes the ride destination or the ride starting location. That is, one of the ride starting location and the ride destination is a site on the planned route.

In a third case, an extended route of at least one planned route of the first candidate car includes the ride starting location and the ride destination. That is, neither the ride starting location nor the ride destination is an intermediate site on the planned route, and both the ride starting location and the ride destination are on the extended route of the planned route.

During determining of the first candidate car, a planned route of the at least one second candidate car may be analyzed, and the at least one first candidate car is determined from the at least one second candidate car according to the ride starting location and the ride destination of the new ride request.

705: The car scheduling server calculates, according to current location information, current road status information, and planned route information of each first candidate car, a first time required by each first candidate car to arrive at the ride destination.

After the at least one first candidate car is determined according to step 704, because a traffic status of a current route is usually not very desirable, a traffic accident or a traffic jam often occurs. Therefore, even if the at least one first candidate car is determined, the at least one first candidate car may fail to arrive at the ride starting location within a time required by a passenger, causing poor ride experience to the passenger. In consideration of the influence of a traffic factor, this embodiment of the present invention further includes a step of calculating a first time required by each first candidate car to arrive at the ride destination.

During calculation of a first time required by each first candidate car to arrive at the ride destination, specifically the following manner may be used for implementation:

A self-driving car calculates the first time according to current location information, current road status information, and planned route information of the self-driving car, and then reports the first time to the car scheduling server; or, the scheduling server calculates the first time according to current location information, current road status information, and planned route information of each first candidate car. A calculation method is: calculating a journey distance according to the current location information, the current road status information, and the planned route information of each first candidate car, and then calculating the first time according to the journey distance and a speed of the self-driving car. The journey distance may be calculated by using time as a preferential reference, or may be calculated by using distance as a preferential reference.

706: The car scheduling server determines a final candidate car from the at least one first candidate car according to the first time corresponding to each first candidate car, where the final candidate car at least meets the expected destination arrival time.

In this embodiment of the present invention, after the at least one first candidate car is determined according to step 704, the final candidate car further needs to be determined from the at least one candidate car according to the first time, calculated according to step 705, corresponding to each first candidate car. The final candidate car needs to be determined according to the following principle:

First, the final candidate car at least meets an expected starting location arrival time. That is, if a passenger specifies that a car arrives at the ride starting location at 4 p.m., the final candidate car selected from the at least one first candidate car needs to arrive at the ride starting location at 4 p.m. sharp.

Next, a new ride request does not affect an original ride request (a planned destination arrival time) of the final candidate car. For each self-driving car, while accepting the new ride request, the self-driving car may have multiple ride requests to be executed. When the final candidate car executes the new ride request, original ride requests should not be affected. For example, the new ride request requires a car to arrive at the ride starting location at 4 p.m., and one ride request of the original ride requests also requires arrival at 4 p.m.; in this case, the first candidate car cannot be used as the final candidate car.

In addition, if no final candidate car in the at least one first candidate car meets a requirement, the car scheduling server may further perform scheduling again on all unexecuted ride requests and the new ride request, so as to obtain an optimal driving arrangement, and deliver the obtained latest driving arrangement to a related self-driving car within the management range.

707: The car scheduling server delivers the ride request to the final candidate car.

In this embodiment of the present invention, after determining the final candidate car, the car scheduling server delivers the ride request to the final candidate car. After receiving the ride request, the final candidate car retrieves passenger information in the ride request. Upon arrival at the ride starting location, precise positioning and passenger identity confirmation are performed according to the passenger information. The ride information may include a featured picture provided by a passenger, for example, a typical road identifier; or may include a portrait photograph of a passenger, so that a self-driving car can perform image matching and recognition, to confirm identity information of the passenger.

Optionally, after the delivering the ride request to the final candidate car, the method further includes:

updating planned route information of the final candidate car, and sending updated planned route information to the final candidate car, so that the final candidate car determines a driving route according to the updated planned route information.

In this embodiment of the present invention, because a processing capability of the car scheduling server is more powerful as compared with a self-driving car, after delivering the ride request to the final candidate car, the car scheduling server further needs to update planned route information of the final candidate car, so that the final candidate car determines the driving route according to updated planned route information. Certainly, route planning information may also be updated by the self-driving car, which is not specifically limited in this embodiment.

Optionally, after the delivering the ride request to the final candidate car, the method further includes:

sending identifier information of the final candidate car to a sending terminal of the passenger request, so that a sender of the passenger request determines the final candidate car according to the identifier information of the final candidate car.

In this embodiment of the present invention, the identifier information of the final candidate car may include license plate information, model information, and the like. Content included in the identifier information is not specifically limited in this embodiment. Optionally, after the identifier information of the final candidate car is delivered to the sending terminal of the passenger request, a photograph and some other basic information of the final candidate car may be further sent to the sending terminal, so that the sender of the passenger request can conveniently confirm the final candidate car.

Additionally, if the safety of car using is considered, the car scheduling server may send some security verification information to the sender of the ride request (the passenger), so that when the passenger gets in the car, the passenger and the self-driving car perform security verification. The verification information may be a string of random digits or may be a two-dimensional code. The form of the security verification information is not specifically limited in this embodiment. Optionally, the car scheduling server may send a driving password to the sending terminal of the ride request, so that the sending terminal of the ride request performs identity verification in, for example, an NFC manner by using a switch-on password, so as to open the door of the final candidate car.

It should be noted that after determining, by using step 701 to step 707, the final candidate car for executing a new ride request, the car scheduling server delivers the new ride request to the final candidate car. Further, the final candidate car may execute the new ride request, and for a detailed process, refer to step 708 to step 710 below.

708: After receiving the ride request delivered by the car scheduling server, the self-driving car determines whether a ride request conflicting with the ride request exists in a driving task list, where the driving task list includes at least one ride request and an execution status corresponding to each ride request.

In this embodiment of the present invention, for each self-driving car, a storage device of the self-driving car maintains a driving task list as shown in Table 1 below.

TABLE 1 Expected Whether Ride starting Expected it is okay Execution Passenger starting Ride location destination to share a Execution order information location destination arrival time arrival time ride status 1 A Location a Location b 8:00  9:00 No Executed 2 B Location c Location d 9:15 10:00 Yes Executing 3 C Location e Location f 10:15  11:00 Yes Planning to execute

After receiving the ride request delivered by the car scheduling server, the final candidate car first determines whether a ride request conflicting with the received ride request exists in a driving task list such as the one shown in FIG. 1. Conflicting ride requests refer to ride requests that have different ride starting locations and different ride destinations but share at least a same expected starting location arrival time or a same expected destination arrival time.

709: If no ride request conflicting with the ride request exists in the driving task list, the self-driving car determines an execution order of the ride request according to the expected destination arrival time of the ride request, adds the ride request to the driving task list according to the execution order of the ride request, and sets an execution status for the ride request.

In this embodiment of the present invention, when a new ride request is added to the driving task list, the new ride request is added according to an expected destination arrival time of the new ride request. That is, a driving task is arranged in ascending order of expected destination arrival times of ride requests. The execution status includes any state of “executed”, “executing” or “planning to execute”. An execution status corresponding to a ride request newly added to the driving task list is “planning to execute”. In addition, if the ride request includes an expected starting location arrival time, when the ride request is added to the driving task list, an execution order of the ride request may also be determined according to both the expected destination arrival time and the expect starting location arrival time.

710: The self-driving car executes ride requests in sequence according to execution orders of the ride requests in the driving task list.

In this embodiment of the present invention, after the new ride request is added to the driving task list, the self-driving car executes ride requests in sequence according to execution orders of the ride requests in the new driving task list. After one ride request is executed, an execution status corresponding to the ride request and an execution status corresponding to a next ride request in the driving task list are changed.

Optionally, during execution of any ride request by the self-driving car, when the self-driving car arrives at the ride starting location, a sender of the ride request is confirmed by using the following two manners.

In a first manner, when the self-driving car arrives at the ride starting location corresponding to the ride request, precise matching and positioning are performed on a current location of a sender of the ride request according to a passenger nearby typical road identifier included in the ride request, so that after the sender of the ride request confirms, according to received car identifier information, the self-driving car that arrives at the ride starting location, the self-driving car drives away from the ride starting location.

In a second manner, when the self-driving car arrives at the ride starting location corresponding to the ride request, a sender of the ride request is confirmed according to a passenger feature identifier included in the ride request, so that after the sender of the ride request confirms, according to received car identifier information, the self-driving car that arrives at the ride starting location, the self-driving car drives away from the ride starting location.

The passenger feature identifier may be an identifier or a passenger picture and the like of a passenger. The form of the passenger feature identifier is not specifically limited in this embodiment of the present invention.

It should be noted that, after the new ride request is add to the driving task list in step 709, if the on-time completion of an existing ride request in the driving task list is affected, the self-driving car may feed back such a condition to the car scheduling server, and negotiate with the car scheduling server on how to adjust the driving task list.

Optionally, when the self-driving car scheduling method provided in this embodiment is performed, the following three manners of updating the driving task list of the self-driving car are further included in addition to the foregoing manner of updating the driving task list of the self-driving car according to the ride request delivered by the car scheduling server. Specific processes are as follows:

In a first manner, after it is detected that a passenger performs a destination change operation on a UI, the driving task list is updated according to a changed destination.

For the first manner, after a passenger gets in a car, based on the consideration of a traffic status in front and a condition of the passenger, the passenger may temporarily change a ride destination. To make it easy for the passenger to change the ride destination during the journey, in the method provided in this embodiment, a UI operation interface is further provided. The UI operation interface is usually a touchscreen, and supports that a user manually changes the ride destination, and after the user changes the ride destination, update of the driving task list is triggered once.

For the second manner, when it is detected that a traffic jam or a traffic accident occurs on a current driving route of the self-driving car, a ride request scheduling negotiation is performed with the car scheduling server, to obtain a scheduling negotiation result; and the driving task list is updated according to the scheduling negotiation result, and at least one subsequent ride request is transferred to another self-driving car.

For the second manner, to improve ride experience of a passenger, for a self-driving car, if a traffic jam or a traffic accident occurs on a current driving route, and the situation does not improve within a short time, to avoid affecting on-time completion of a subsequent ride request in the driving task list, in the method provided in this embodiment, a measure of negotiating with the car scheduling server and transferring and distributing at least one subsequent ride request is used. That is, when detecting that a traffic jam or a traffic accident occurs on a current driving route, the self-driving car performs a ride request scheduling negotiation with the car scheduling server, to obtain a scheduling negotiation result; according to the scheduling negotiation result, the driving task list is updated, and a successfully transferred ride request is deleted from the driving task list, or an execution status is changed to “transferred”; and at the same time, at least one subsequent ride request is distributed to another self-driving car, so that the another self-driving car executes the distributed subsequent ride request.

It should be noted that when a subsequent ride request is transferred, it may be transferred by the self-driving car or may be transferred by the car scheduling server. Whether a subsequent ride request is specifically transferred by the self-driving car or the car scheduling server is not specifically limited in this embodiment of the present invention.

In a third manner, when it is detected that a traffic jam or a traffic accident occurs on a current driving route, a ride request scheduling negotiation is performed with another self-driving car with which communication is established, to obtain a scheduling negotiation result; and the driving task list is updated according to the scheduling negotiation result and at least one subsequent ride request is transferred to the another self-driving car.

For the third manner, to improve ride experience of a passenger, for a self-driving car, if a traffic jam or a traffic accident occurs on a current driving route, and the situation does not improve within a short time, to avoid affecting on-time completion of a subsequent ride request in the driving task list, in the method provided in this embodiment, a measure of negotiating with another self-driving car and transferring and distributing at least one subsequent ride request is used. That is, when detecting that a traffic jam or a traffic accident occurs on a current driving route, the self-driving car performs a ride request scheduling negotiation with the car scheduling server, to obtain a scheduling negotiation result; according to the scheduling negotiation result, the driving task list is updated, or an execution status is changed to “transferred”; and at the same time, at least one subsequent ride request is distributed to another self-driving car, so that the another self-driving car executes the distributed subsequent ride request.

It should be noted that when a subsequent ride request is transferred, it may be transferred by the self-driving car or may be transferred by the car scheduling server. Whether a subsequent ride request is specifically transferred by the self-driving car or the car scheduling server is not specifically limited in this embodiment of the present invention.

In the method provided in this embodiment of the present invention, during self-driving car scheduling, car scheduling is performed according to at least a ride request, and current location information, current road status information, and planned route information of self-driving cars within a management range of a car scheduling server, so that an obtained scheduling result is relatively precise, scheduling precision is high, a passenger is more satisfied with a car scheduling result, and ride experience of the passenger is relatively desirable.

FIG. 8 shows a car scheduling server according to an embodiment of the present invention. Referring to FIG. 8, the scheduling server includes: a ride request receiving module 801, a first candidate car determining module 802, a first time calculation module 803, a final candidate car determining module 804, and a ride request delivery module 805.

The ride request receiving module 801 is configured to receive a ride request, where the ride request includes at least a ride starting location, a ride destination, and an expected destination arrival time; the first candidate car determining module 802 is connected to the ride request receiving module 801, and is configured to determine, according to the ride request and driving information of self-driving cars within a management range, at least one first candidate car from the multiple self-driving cars; the first time calculation module 803 is connected to the first candidate car determining module 802, and is configured to calculate, according to current location information, current road status information, and planned route information of each first candidate car, a first time required by each first candidate car to arrive at the ride destination; the final candidate car determining module 804 is connected to the first time calculation module 803, and is configured to determine a final candidate car from the at least one first candidate car according to the first time corresponding to each first candidate car, where the final candidate car at least meets the expected destination arrival time; and the ride request delivery module 805 is connected to the final candidate car determining module 804, and is configured to deliver the ride request to the final candidate car, so that the final candidate car responds to the ride request.

Optionally, the server further includes:

a driving information acquiring module, configured to acquire the driving information of the self-driving cars within the management range, where the driving information includes at least current location information, current road status information, planned route information, and a planned destination arrival time, where

the first candidate car determining module is configured to determine the at least one first candidate car from the multiple self-driving cars according to the ride starting location and the ride destination, where a planned route or an extended route of the planned route of the first candidate car includes the ride starting location and the ride destination.

Optionally, the server further includes:

a second candidate car determining module, configured to: when the ride request includes ride sharing information and a quantity of passengers, determine, from the self-driving cars within the management range, at least one second candidate car that has vacant seats whose quantity is not less than the quantity of passengers and that agrees with ride sharing, where

the first candidate car determining module is configured to determine the at least one first candidate car from the at least one second candidate car according to the ride starting location and the ride destination.

Optionally, the ride request delivery module is configured to deliver the ride request including passenger information to the final candidate car, so that after arriving at the ride starting location, the final candidate car determines a sender of the ride request according to the passenger information,

where the passenger information includes at least one of a passenger feature identifier or a passenger nearby typical road identifier.

Optionally, the server further includes:

a security verification information sending module, configured to send security verification information of the final candidate car to a sending terminal of the passenger request, so that when arriving at the ride starting location, the final candidate car verifies, according to the security verification information, security verification information provided by a sender of the passenger request.

Optionally, the server further includes:

a planned route information update module, configured to update planned route information of the final candidate car, and send updated planned route information to the final candidate car, so that the final candidate car determines a driving route according to the updated planned route information.

Optionally, the server further includes:

a car identifier information delivery module, configured to send identifier information of the final candidate car to a sending terminal of the passenger request, so that a sender of the passenger request determines the final candidate car according to the identifier information of the final candidate car.

Optionally, the server further includes:

a scheduling module, configured to: when the final candidate car does not exist among the multiple self-driving cars within the management range, perform scheduling again on a newly received ride request and all unexecuted ride requests, and send a scheduling result to a corresponding self-driving car.

In conclusion, for the server provided in this embodiment of the present invention, during self-driving car scheduling, car scheduling is performed according to at least a ride request, and current location information, current road status information, and planned route information of self-driving cars within a management range of the car scheduling server, and because reference factors for car scheduling are relatively varied, an obtained scheduling result is relatively precise, and scheduling precision is high, a passenger is more satisfied with a car scheduling result, and ride experience of the passenger is relatively desirable.

FIG. 9 is a schematic structural diagram of a self-driving car according to an embodiment of the present invention. Referring to FIG. 9, the car includes: a ride request receiving module 901, a ride request determining module 902, a ride request adding module 903, and an execution module 904.

The ride request receiving module 901 is configured to receive a ride request delivered by a scheduling server, where the ride request includes at least a ride starting location, a ride destination, an expected destination arrival time, and passenger information; the ride request determining module 902 is connected to the ride request receiving module 901, and is configured to determine whether a ride request conflicting with the ride request exists in a driving task list; the ride request adding module 903 is connected to the ride request determining module 902, and is configured to: when no ride request conflicting with the ride request exists in the driving task list, determine an execution order of the ride request according to the expected destination arrival time of the ride request, and add the ride request to the driving task list according to the execution order of the ride request; and the execution module 904 is connected to the ride request adding module 903, and is configured to execute ride requests in sequence according to execution orders of the ride requests in the driving task list.

Optionally, the car further includes:

an execution status setting module, configured to set an execution status for the ride request,

where the driving task list includes at least one ride request and an execution status corresponding to each ride request.

Optionally, the car further includes:

a matching confirmation module, configured to: during execution of any ride request, upon arrival at a ride starting location corresponding to the ride request, perform precise matching and positioning on a current location of a sender of the ride request according to a passenger nearby typical road identifier included in the ride request, so that after the sender of the ride request confirms, according to received car identifier information, the self-driving car that arrives at the ride starting location, the self-driving car drives away from the ride starting location.

Optionally, the matching confirmation module is further configured to: during execution of any ride request, upon arrival at a ride starting location corresponding to the ride request, confirm a sender of the ride request according to a passenger feature identifier included in the ride request, so that after the sender of the ride request confirms, according to received car identifier information, the self-driving car that arrives at the ride starting location, the self-driving car drives away from the ride starting location.

Optionally, the car further includes:

a driving task list update module, configured to: after it is detected that a passenger performs a destination change operation on a UI, update the driving task list according to a changed destination.

Optionally, the car further includes:

a scheduling negotiation module, configured to: when it is detected that a traffic jam or a traffic accident occurs on a current driving route of the self-driving car, perform a ride request scheduling negotiation with the scheduling server, to obtain a scheduling negotiation result, where

the driving task list update module is further configured to update the driving task list according to the scheduling negotiation result and transfer at least one subsequent ride request to another self-driving car.

Optionally, the scheduling negotiation module is further configured to: when it is detected that a traffic jam or a traffic accident occurs on a current driving route, perform a ride request scheduling negotiation with another self-driving car with which communication is established, to obtain a scheduling negotiation result; and

the driving task list update module is further configured to update the driving task list according to the scheduling negotiation result and transfer at least one subsequent ride request to the another self-driving car.

For the self-driving car provided in the embodiment of the present invention, during self-driving car scheduling, car scheduling is performed according to at least a ride request, and current location information, current road status information, and planned route information of self-driving cars within a management range of a car scheduling server, and because reference factors for car scheduling are relatively varied, an obtained scheduling result is relatively precise, and scheduling precision is high, a passenger is more satisfied with a car scheduling result, and ride experience of the passenger is relatively desirable.

It should be noted that when the car scheduling server and the self-driving car provided in the foregoing embodiments perform self-driving car scheduling, the foregoing division of functional modules is only used as an example for description. In actual applications, the foregoing functions may be allocated to be accomplished by different functional modules according to needs, that is, the internal structures of the server and the car are divided into different functional modules to accomplish all or some of the functions described above. In addition, the car scheduling server and the self-driving car provided in the foregoing embodiments share the same concept with the embodiments of the self-driving car scheduling method; reference may be made to the method embodiments for the specific implementation processes of the car scheduling server and the self-driving car, and details are not described herein again.

A person of ordinary skill in the art may understand that all or some of the steps of the embodiments may be implemented by hardware or a program instructing related hardware. The program may be stored in a computer-readable storage medium. The storage medium may include: a read only memory, a magnetic disk, or an optical disc.

The foregoing descriptions are merely exemplary embodiments of the present invention, but are not intended to limit the present invention. Any modification, equivalent replacement, and improvement made without departing from the spirit and principle of the present invention shall fall within the protection scope of the present invention. 

What is claimed is:
 1. A self-driving car scheduling method, wherein the method comprises: receiving a ride request, wherein the ride request comprises at least a ride starting location, a ride destination, and an expected destination arrival time; determining, according to the ride request and driving information of self-driving cars within a management range, at least one first candidate car from the multiple self-driving cars; calculating, according to current location information, current road status information, and planned route information of each first candidate car, a first time required by each first candidate car to arrive at the ride destination; determining a final candidate car from the at least one first candidate car according to the first time corresponding to each first candidate car, wherein the final candidate car at least meets the expected destination arrival time; and delivering the ride request to the final candidate car, so that the final candidate car responds to the ride request.
 2. The method according to claim 1, wherein before the determining, according to the ride request and driving information of self-driving cars within a management range, at least one first candidate car from the multiple self-driving cars, the method further comprises: acquiring the driving information of the self-driving cars within the management range, wherein the driving information comprises at least current location information, current road status information, planned route information, and a planned destination arrival time; and the determining, according to the ride request and driving information of self-driving cars within a management range, at least one first candidate car from the multiple self-driving cars comprises: determining the at least one first candidate car from the multiple self-driving cars according to the ride starting location and the ride destination, wherein a planned route or an extended route of the planned route of the first candidate car comprises the ride starting location and the ride destination.
 3. The method according to claim 2, wherein before the determining the at least one first candidate car from the multiple self-driving cars according to the ride starting location and the ride destination, the method further comprises: if the ride request comprises ride sharing information and a quantity of passengers, determining, from the self-driving cars within the management range, at least one second candidate car that has vacant seats whose quantity is not less than the quantity of passengers and that agrees with ride sharing; and the determining the at least one first candidate car from the multiple self-driving cars according to the ride starting location and the ride destination comprises: determining the at least one first candidate car from the at least one second candidate car according to the ride starting location and the ride destination.
 4. The method according to claim 1, wherein the ride request further comprises passenger information, and the delivering the ride request to the final candidate car comprises: delivering the ride request comprising the passenger information to the final candidate car, so that after arriving at the ride starting location, the final candidate car determines a sender of the ride request according to the passenger information, wherein the passenger information comprises at least one of a passenger feature identifier or a passenger nearby typical road identifier.
 5. The method according to claim 1, wherein after the delivering the ride request to the final candidate car, the method further comprises: sending security verification information of the final candidate car to a sending terminal of the passenger request, so that when arriving at the ride starting location, the final candidate car verifies, according to the security verification information, security verification information provided by a sender of the passenger request.
 6. The method according to claim 1, wherein after the delivering the ride request to the final candidate car, the method further comprises: updating planned route information of the final candidate car, and sending updated planned route information to the final candidate car, so that the final candidate car determines a driving route according to the updated planned route information.
 7. The method according to claim 1, wherein after the delivering the ride request to the final candidate car, the method further comprises: sending identifier information of the final candidate car to a sending terminal of the passenger request, so that a sender of the passenger request determines the final candidate car according to the identifier information of the final candidate car.
 8. The method according to claim 1, wherein the method further comprises: if the final candidate car does not exist among the multiple self-driving cars within the management range, performing scheduling again on a newly received ride request and all unexecuted ride requests, and sending a scheduling result to a corresponding self-driving car.
 9. A car scheduling server, wherein the server comprises: a ride request receiving module, configured to receive a ride request, wherein the ride request comprises at least a ride starting location, a ride destination, and an expected destination arrival time; a first candidate car determining module, configured to determine, according to the ride request and driving information of self-driving cars within a management range, at least one first candidate car from the multiple self-driving cars; a first time calculation module, configured to calculate, according to current location information, current road status information, and planned route information of each first candidate car, a first time required by each first candidate car to arrive at the ride destination; a final candidate car determining module, configured to determine a final candidate car from the at least one first candidate car according to the first time corresponding to each first candidate car, wherein the final candidate car at least meets the expected destination arrival time; and a ride request delivery module, configured to deliver the ride request to the final candidate car, so that the final candidate car responds to the ride request.
 10. The server according to claim 9, wherein the server further comprises: a driving information acquiring module, configured to acquire the driving information of the self-driving cars within the management range, wherein the driving information comprises at least current location information, current road status information, planned route information, and a planned destination arrival time, wherein the first candidate car determining module is configured to determine the at least one first candidate car from the multiple self-driving cars according to the ride starting location and the ride destination, wherein a planned route or an extended route of the planned route of the first candidate car comprises the ride starting location and the ride destination.
 11. The server according to claim 10, wherein the server further comprises: a second candidate car determining module, configured to: when the ride request comprises ride sharing information and a quantity of passengers, determine, from the self-driving cars within the management range, at least one second candidate car that has vacant seats whose quantity is not less than the quantity of passengers and that agrees with ride sharing, wherein the first candidate car determining module is configured to determine the at least one first candidate car from the at least one second candidate car according to the ride starting location and the ride destination.
 12. The server according to claim 9, wherein the ride request delivery module is configured to deliver the ride request comprising the passenger information to the final candidate car, so that after arriving at the ride starting location, the final candidate car determines a sender of the ride request according to the passenger information, wherein the passenger information comprises at least one of a passenger feature identifier or a passenger nearby typical road identifier.
 13. The server according to claim 9, wherein the server further comprises: a security verification information sending module, configured to send security verification information of the final candidate car to a sending terminal of the passenger request, so that when arriving at the ride starting location, the final candidate car verifies, according to the security verification information, security verification information provided by a sender of the passenger request.
 14. The server according to claim 9, wherein the server further comprises: a planned route information update module, configured to update planned route information of the final candidate car, and send updated planned route information to the final candidate car, so that the final candidate car determines a driving route according to the updated planned route information.
 15. The server according to claim 9, wherein the server further comprises: a car identifier information delivery module, configured to send identifier information of the final candidate car to a sending terminal of the passenger request, so that a sender of the passenger request determines the final candidate car according to the identifier information of the final candidate car.
 16. The server according to claim 9, wherein the server further comprises: a scheduling module, configured to: when the final candidate car does not exist among the multiple self-driving cars within the management range, perform scheduling again on a newly received ride request and all unexecuted ride requests, and send a scheduling result to a corresponding self-driving car.
 17. A self-driving car scheduling method, wherein the method comprises: receiving a ride request delivered by a car scheduling server, wherein the ride request comprises at least a ride starting location, a ride destination, an expected destination arrival time, and passenger information; determining whether a ride request conflicting with the ride request exists in a driving task list; if no ride request conflicting with the ride request exists in the driving task list, determining an execution order of the ride request according to the expected destination arrival time of the ride request, and adding the ride request to the driving task list according to the execution order of the ride request; and executing ride requests in sequence according to execution orders of the ride requests in the driving task list.
 18. The method according to claim 17, wherein after the adding the ride request to the driving task list according to the execution order of the ride request, the method further comprises: setting an execution status for the ride request, wherein the driving task list comprises at least one ride request and an execution status corresponding to each ride request.
 19. The method according to claim 17, wherein the method further comprises: during execution of any ride request, upon arrival at a ride starting location corresponding to the ride request, performing precise matching and positioning on a current location of a sender of the ride request according to a passenger nearby typical road identifier comprised in the ride request, so that after the sender of the ride request confirms, according to received car identifier information, a self-driving car that arrives at the ride starting location, the self-driving car drives away from the ride starting location.
 20. The method according to claim 17, wherein the method further comprises: during execution of any ride request, upon arrival at a ride starting location corresponding to the ride request, confirming a sender of the ride request according to a passenger feature identifier comprised in the ride request, so that after the sender of the ride request confirms, according to received car identifier information, a self-driving car that arrives at the ride starting location, the self-driving car drives away from the ride starting location.
 21. The method according to claim 17, wherein the method further comprises: after it is detected that a passenger performs a destination change operation on a user interface UI, updating the driving task list according to a changed destination.
 22. The method according to claim 17, wherein the method further comprises: when it is detected that a traffic jam or a traffic accident occurs on a current driving route of the self-driving car, performing a ride request scheduling negotiation with the car scheduling server, to obtain a scheduling negotiation result; and updating the driving task list according to the scheduling negotiation result and transferring at least one subsequent ride request to another self-driving car.
 23. The method according to claim 17, wherein the method further comprises: when it is detected that a traffic jam or a traffic accident occurs on a current driving route, performing a ride request scheduling negotiation with another self-driving car with which communication is established, to obtain a scheduling negotiation result; and updating the driving task list according to the scheduling negotiation result and transferring at least one subsequent ride request to the another self-driving car.
 24. A self-driving car, wherein the car comprises: a ride request receiving module, configured to receive a ride request delivered by a car scheduling server, wherein the ride request comprises at least a ride starting location, a ride destination, an expected destination arrival time, and passenger information; a ride request determining module, configured to determine whether a ride request conflicting with the ride request exists in a driving task list; a ride request adding module, configured to: when no ride request conflicting with the ride request exists in the driving task list, determine an execution order of the ride request according to the expected destination arrival time of the ride request, and add the ride request to the driving task list according to the execution order of the ride request; and an execution module, configured to execute ride requests in sequence according to execution orders of the ride requests in the driving task list.
 25. The car according to claim 24, wherein the car further comprises: an execution status setting module, configured to set an execution status for the ride request, wherein the driving task list comprises at least one ride request and an execution status corresponding to each ride request.
 26. The car according to claim 24, wherein the car further comprises: a matching confirmation module, configured to: during execution of any ride request, upon arrival at a ride starting location corresponding to the ride request, perform precise matching and positioning on a current location of a sender of the ride request according to a passenger nearby typical road identifier comprised in the ride request, so that after the sender of the ride request confirms, according to received car identifier information, the self-driving car that arrives at the ride starting location, the self-driving car drives away from the ride starting location.
 27. The car according to claim 24, wherein the matching confirmation module is further configured to: during execution of any ride request, upon arrival at a ride starting location corresponding to the ride request, confirm a sender of the ride request according to a passenger feature identifier comprised in the ride request, so that after the sender of the ride request confirms, according to received car identifier information, the self-driving car that arrives at the ride starting location, the self-driving car drives away from the ride starting location.
 28. The car according to claim 24, wherein the car further comprises: a driving task list update module, configured to: after it is detected that a passenger performs a destination change operation on a user interface UI, update the driving task list according to a changed destination.
 29. The car according to claim 24, wherein the car further comprises: a scheduling negotiation module, configured to: when it is detected that a traffic jam or a traffic accident occurs on a current driving route of the self-driving car, perform a ride request scheduling negotiation with the car scheduling server, to obtain a scheduling negotiation result, wherein the driving task list update module is further configured to update the driving task list according to the scheduling negotiation result and transfer at least one subsequent ride request to another self-driving car.
 30. The car according to claim 24, wherein the scheduling negotiation module is further configured to: when it is detected that a traffic jam or a traffic accident occurs on a current driving route, perform a ride request scheduling negotiation with another self-driving car with which communication is established, to obtain a scheduling negotiation result; and the driving task list update module is further configured to update the driving task list according to the scheduling negotiation result and transfer at least one subsequent ride request to the another self-driving car. 